package com.foreverwin.mes.production.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;


@TableName("Z_WORK_DAY_REST_TIME_DETAIL")
public class WorkDayRestTimeDetail extends Model<WorkDayRestTimeDetail> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
   @TableField("WORK_DAY_REST_TIME_BO")
   private String workDayRestTimeBo;
   @TableField("REST_START_TIME")
   private String restStartTime;
   @TableField("REST_END_TIME")
   private String restEndTime;
   @TableField("STATUS")
   private String status;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getWorkDayRestTimeBo() {
      return workDayRestTimeBo;
   }

   public void setWorkDayRestTimeBo(String workDayRestTimeBo) {
      this.workDayRestTimeBo = workDayRestTimeBo;
   }

   public String getRestStartTime() {
      return restStartTime;
   }

   public void setRestStartTime(String restStartTime) {
      this.restStartTime = restStartTime;
   }

   public String getRestEndTime() {
      return restEndTime;
   }

   public void setRestEndTime(String restEndTime) {
      this.restEndTime = restEndTime;
   }

   public String getStatus() {
      return status;
   }

   public void setStatus(String status) {
      this.status = status;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String WORK_DAY_REST_TIME_BO = "WORK_DAY_REST_TIME_BO";

   public static final String REST_START_TIME = "REST_START_TIME";

   public static final String REST_END_TIME = "REST_END_TIME";

   public static final String STATUS = "STATUS";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "WorkDayRestTimeDetail{" +
         "handle = " + handle +
         ", site = " + site +
         ", workDayRestTimeBo = " + workDayRestTimeBo +
         ", restStartTime = " + restStartTime +
         ", restEndTime = " + restEndTime +
         ", status = " + status +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}